<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <ul>
        <li>username:[[${username}]]</li>
        <li>state:[[${state}]]</li>
    </ul>
    <ul>
        <li th:each="city:${cities}">[[${city}]]</li>
    </ul>
    <h1>请选择所选城市</h1>
    <select style="width:200px;height:30px">
        <!--<option th:each="city:${cities}"">[[${city}]]</option>-->
        <option th:each="city:${cities}" th:text="${city}">武汉</option>
    </select>
    <h1>表格</h1>
    <table>
        <tr>
            <th>序号</th>
            <th>城市</th>
        </tr>
        <!--<tr th:each="city:${cities};row:${rows}">
            <td th:text="${row}">1</td>
            <td th:text="${city}"></td>
        </tr>-->
    </table>
</body>
</html>